package com.gaussian.property.app.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.*;
import java.util.List;

/**
 * @description:
 * @author: songqi(13776346982)
 * @date: 2024/4/22 09:46
 */
@Data
public class TempCheckItemForm {

    @ApiModelProperty("临时稽核记录id")
    @NotBlank(message = "临时稽核记录id必传")
    private String tempProjectCheckRecordId;

    @ApiModelProperty("稽核标准Id")
    @NotBlank(message = "稽核标准Id必传")
    private String checkStandardId;

    @ApiModelProperty("扣分。0表示不扣分。正数表示加分，负数表示扣分。总分值不能超过稽核标准的分值或模块的分值")
    @NotNull(message = "扣分必填")
    @DecimalMin(value = "-100.0", message = "扣分值不正确 !")
    @DecimalMax(value = "100.0", message = "扣分值不正确 !")
    private Double deduction;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("图片列表")
    private List<String> imagePathList;
}
